
//- This Source Code Form is subject to the terms of the Mozilla Public
//- License, v. 2.0. If a copy of the MPL was not distributed with this
//- file, You can obtain one at http://mozilla.org/MPL/2.0/.
//-
//- Copyright (c) 2021-present Kaleidos Ventures SL

fieldset
    label(
        translate="PROJECT.COMMON.DETAILS"
        for="project-name"
    )
    input.e2e-create-project-title(
        ng-class="{'checksley-error': !!vm.errorList.includes('name') }"
        type="text"
        ng-model="vm.projectForm.name"
        placeholder="{{'PROJECT.COMMON.PROJECT_TITLE' | translate}}"
        name="project-name"
        data-required="true"
        required
    )
    .error-text(ng-if="!!vm.errorList.includes('name')") {{ 'COMMON.FORM_ERRORS.REQUIRED'|translate }}
